------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Figure1\figure1_tableob1.log
  log type:  text
 opened on:  23 Jun 2021, 09:59:26

. use "pooled.dta"

. set more off

. 
. /****Some Initial Cleaning*****/
. label var treat "Treatment Condition"

. label var support01 "Policy Support"

. 
. gen polissue = . 
(6,151 missing values generated)

.         replace polissue = 1 if exp == 1
(1,336 real changes made)

.         replace polissue = 2 if exp == 2 & pol_exp == "Tax:Conservative"
(1,055 real changes made)

.         replace polissue = 3 if exp == 2 & pol_exp == "Tax:Liberal"
(1,053 real changes made)

.         replace polissue = 4 if exp == 3 & pol_exp == "Tax:Conservative"
(1,216 real changes made)

.         replace polissue = 5 if exp == 3 & pol_exp == "Tax:Liberal"
(1,244 real changes made)

. label var polissue "Experiment & Issue"

. label def pol1 1 "Experiment 1" 2 "Exp 2: Conservative Change" ///
>                                 3 "Exp 2: Liberal Change" 4 "Exp 3: Conservative Change" ///
>                                 5 "Exp 3: Liberal Change"

. label values polissue pol1

. 
. encode treat_policy, gen(trp)

. label var trp "Policy Treatment"

. 
. /******Models******/
. eststo clear

. eststo: regress support01 i.treat i.polissue

      Source |       SS           df       MS      Number of obs   =     5,053
-------------+----------------------------------   F(6, 5046)      =      9.92
       Model |  4.81670241         6  .802783735   Prob > F        =    0.0000
    Residual |  408.497182     5,046  .080954653   R-squared       =    0.0117
-------------+----------------------------------   Adj R-squared   =    0.0105
       Total |  413.313884     5,052  .081811933   Root MSE        =    .28453

---------------------------------------------------------------------------------------------
                  support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
----------------------------+----------------------------------------------------------------
                      treat |
                 Party Cue  |   .0756219   .0109463     6.91   0.000     .0541625    .0970814
         Cue w/Insinuation  |    .025454   .0099374     2.56   0.010     .0059723    .0449357
                            |
                   polissue |
Exp 2: Conservative Change  |   .0052404   .0135062     0.39   0.698    -.0212376    .0317183
     Exp 2: Liberal Change  |  -.0060905   .0134961    -0.45   0.652    -.0325487    .0203678
Exp 3: Conservative Change  |   .0306741   .0122756     2.50   0.012     .0066086    .0547397
     Exp 3: Liberal Change  |    .001804   .0122338     0.15   0.883    -.0221795    .0257875
                            |
                      _cons |   .4682942   .0108174    43.29   0.000     .4470874    .4895011
---------------------------------------------------------------------------------------------
(est1 stored)

. eststo: regress support01 i.treat if exp == 1

      Source |       SS           df       MS      Number of obs   =     1,013
-------------+----------------------------------   F(2, 1010)      =      2.79
       Model |  .407676363         2  .203838181   Prob > F        =    0.0620
    Residual |    73.84098     1,010  .073109881   R-squared       =    0.0055
-------------+----------------------------------   Adj R-squared   =    0.0035
       Total |  74.2486564     1,012  .073368238   Root MSE        =    .27039

------------------------------------------------------------------------------------
         support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
             treat |
        Party Cue  |   .0432834   .0210257     2.06   0.040     .0020244    .0845424
Cue w/Insinuation  |   .0003994   .0205747     0.02   0.985    -.0399747    .0407735
                   |
             _cons |   .4872549   .0146639    33.23   0.000     .4584798      .51603
------------------------------------------------------------------------------------
(est2 stored)

. eststo: regress support01 i.treat i.trp if exp == 2

      Source |       SS           df       MS      Number of obs   =     1,582
-------------+----------------------------------   F(3, 1578)      =      7.29
       Model |  1.67495168         3  .558317225   Prob > F        =    0.0001
    Residual |  120.801407     1,578   .07655349   R-squared       =    0.0137
-------------+----------------------------------   Adj R-squared   =    0.0118
       Total |  122.476359     1,581  .077467653   Root MSE        =    .27668

------------------------------------------------------------------------------------
         support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
             treat |
        Party Cue  |   .0784583   .0170529     4.60   0.000     .0450095     .111907
Cue w/Insinuation  |   .0361632   .0170292     2.12   0.034      .002761    .0695655
                   |
               trp |
   Liberal Change  |   -.011407   .0139131    -0.82   0.412    -.0386972    .0158832
             _cons |   .4690486   .0138963    33.75   0.000     .4417915    .4963058
------------------------------------------------------------------------------------
(est3 stored)

. eststo: regress support01 i.treat i.trp if exp == 3

      Source |       SS           df       MS      Number of obs   =     2,458
-------------+----------------------------------   F(3, 2454)      =     10.80
       Model |  2.82046596         3  .940155319   Prob > F        =    0.0000
    Residual |  213.540494     2,454  .087017316   R-squared       =    0.0130
-------------+----------------------------------   Adj R-squared   =    0.0118
       Total |   216.36096     2,457  .088058999   Root MSE        =    .29499

------------------------------------------------------------------------------------
         support01 |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------------+----------------------------------------------------------------
             treat |
        Party Cue  |     .09436   .0187709     5.03   0.000     .0575516    .1311684
Cue w/Insinuation  |   .0329267   .0153557     2.14   0.032     .0028152    .0630382
                   |
               trp |
   Liberal Change  |  -.0289762   .0119032    -2.43   0.015    -.0523175   -.0056349
             _cons |   .4907795   .0144943    33.86   0.000     .4623572    .5192018
------------------------------------------------------------------------------------
(est4 stored)

. 
. /*******Table******/
. esttab using "figure1_table.rtf", replace ///
>         onecell label nobaselevels b(2) se star(* 0.05 ** 0.01 *** 0.001) ///
>         mtitles("Pooled" "Exp. 1" "Exp. 2" "Exp. 3") ///
>         title("{\b Table OB1:} Figure 1 Analyses") ///
>         addnotes("The baseline category for the cue treatment is the No Cue condition. The base category for experiment/policy in the Pooled model is Experiment 1. Th
> e base category for the policy treatment in Exp. 2 and 3 models is the Conservative Change condition")
(note: file figure1_table.rtf not found)
(output written to figure1_table.rtf)

.         
. 
. log close
      name:  <unnamed>
       log:  C:\Users\jar68\OneDrive\Ongoing Work\Party Cues and Suspicion Paper\Final Datavserse\Figure1\figure1_tableob1.log
  log type:  text
 closed on:  23 Jun 2021, 09:59:26
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
